#include <iostream>
#include <string>

class Indentity
{
public:
    Indentity(const std::string& name)
    {

    }
    virtual void print()=0;
    std::string m_name;
};

class Student: public Indentity
{
public:
    Student(const std::string& name):Indentity(name)
    {
        m_name="daniel";
    }
    virtual void print() override
    {
        std::cout<<"m_name:"<<m_name<<std::endl;
    }
};

int main()
{
    Student stu("daniel");
    stu.print();
    return 0;
}